func go/types.tparamIndex
6 uses
go/types (current package)
infer.go#L441: return tparamIndex(w.tparams, t) >= 0
infer.go#L708: if i := tparamIndex(w.tparams, tpar); i >= 0 {
infer.go#L774: if i := tparamIndex(w.tparams, t); i >= 0 && w.types[i] != nil {
typestring.go#L302: if i := tparamIndex(w.tparams.list(), t); i >= 0 {
unify.go#L189: return tparamIndex(d.tparams, tpar)
unify.go#L196: func tparamIndex(list []*TypeParam, tpar *TypeParam) int {
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)